<?php

namespace app\api\validate;

class JoinMerchantValidate extends BaseValidate
{
    protected $rule = [
        'trade_name|店铺名称' => 'require|max:64',
        'phone|联系电话' => 'require|max:16|isMobile',
        'join_type_id|入驻类型' => 'require',
        'address|店铺地址' => 'require',
        'avatar_image|店铺头像' => 'require',
        'business_image|营业执照' => 'require',
        'id_card_front_image|身份证正面' => 'require',
        'id_card_back_image|身份证反面' => 'require'
    ];
}